import http from "@/api/http"
import md5 from "js-md5";

export default {
    namespaced: true,
    state: {
    },
    mutations: {},
    actions: {
        login(store, data) {
            return http["post"]("/user/login/userLogin", {
                ...data,
                password: md5(md5(data.password))
            })
        },
    }
}
